package cn.com.qingz.modules.user.service;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageList;

import cn.com.qingz.modules.user.model.City;
import cn.com.qingz.modules.user.model.Organization;
import cn.com.qingz.modules.user.model.SchoolVO;

public interface OrganizationService {

    public List<Organization> getChildren(Long pid);

    /**
     * 列出所有的城市
     * @return
     */
    public List<City> listCity();

    /**
     * 添加学校
     * @param school
     */
    public void doAddSchool(SchoolVO school);

    public PageList<SchoolVO> querySchool(int pageNo, int limit);
}
